<template>
    <!-- 页脚 -->
    <div class="footer">
        <ul class="nav_list clearfloat">
            <li class="nav_item" @click="onNavlink('zh_home')">首页</li>
            <li class="nav_item" @click="onNavlink('zh_aboutUs')">有关协力</li>
            <li class="nav_item" @click="onNavlink('zh_field',{cid:serviceCate[0].id})">专业领域</li>
            <li class="nav_item" @click="onNavlink('zh_personnel')">专业人员</li>
            <li class="nav_item" @click="onNavlink('zh_news')">新闻资讯</li>
            <li class="nav_item" @click="onNavlink('zh_party_mass')">党群建设</li>
            <li class="nav_item" @click="onNavlink('zh_recruitment')">人才招聘</li>
            <li class="nav_item" @click="onNavlink('zh_contactUs')">联系我们</li>
        </ul>
        <ul class="nav_list2 clearfloat">
            <li class="nav_item">友情链接 :</li>
            <a class="nav_item" v-for="(item,index) in linkList" :key="index" target="_blank"
                :href="item.link">{{item.title}}</a>
            <!-- <a href="http://www.cniprs.com/"
         class="nav_item">文化创意知识产权法律服务平台</a>
      <a href="http://www.iprlawyers.com/"
         class="nav_item">知识产权律师网</a>
      <a href="http://www.otc-china.net/"
         class="nav_item">新三板上市法律网</a>
      <a href="http://www.chinajapanlaw.com/"
         class="nav_item">中日经贸法律网</a>
      <a href="http://www.hunyinlawyer.cn/"
         class="nav_item">婚姻家庭律师网</a>
      <a href="http://www.shipa.org/"
         class="nav_item">上海知识产权研究所</a> -->
        </ul>
        <!-- <ul class="nav_list3 clearfloat">
     
    </ul>-->
        <p class="record">
            <span>上海市协力律师事务所版权所有</span>
            <a href="https://beian.miit.gov.cn/" style="color:#fff;"> © 沪ICP备19038920号-1</a>
            <!-- <span>上海协力律师事务所版权所有 © 沪ICP备19038920号-1</span> -->
            <router-link style class="legalNotices" :to="{name:'zh_legalNotices'}">法律声明</router-link>
            <router-link style class="legalNotices" :to="{name:'zh_privacyPolicy'}">隐私条款</router-link>
        </p>
        <div class="record_link">
            <img src="@/assets/images/wangan.png" alt />
            <a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31011502015242号">沪公网安备
                31011502015242号</a>

            <!-- <a style="margin-left:0.2rem" href="http://www.hante-jz.com/">技术支持 : 晗特互联</a> -->
        </div>
        <!-- <a class="record" style="color:#fff" href="http://www.hante-jz.com/">技术支持 : 晗特互联</a> -->
        <!-- <a style="margin-left:0.2rem" href="http://www.hante-jz.com/">技术支持</a> -->
    </div>
</template>
<script>
import { get_link } from '../../../api/home'
export default {
    data () {
        let that = this
        return {
            linkList: [],
        }
    },
    mounted () {
        this.getLink()
    },
    methods: {
        onNavlink (link, query) {
            try {
                this.$router.push({ name: link, query: query || {} })
            } catch (error) {
                console.log('已经当前页面了')
            }
        },
        async getLink () {
            let res = await get_link()
            console.log(res)
            this.linkList = res.data.data
        },
    },
}
</script>
<style scoped src="./sass/footer.css">

</style>